var vm = new Vue({
    el: "#app",
    components: {
        "header-com" : headerCom,
        "count-com" : countCom
    },
    data: {
        messages: []
    },
    created() {
        axios.get("/business/query/statement")
        .then((res) => {
            this.messages = (res.data.data).reverse();
            setTimeout(() => {
                document.getElementById("load-content").style.display = "none";
            }, 2000);//加载时间太快 延时2秒关闭close
        })
        .catch(function(err){
            alert(err);
        })
    }
});